//
// Created by htlin on 2021/3/1 0001.
//

#include "ThreadImpl.h"
#include <unistd.h>

void ThreadImpl::run() {
  printf("current thread id: %ld\n", getThreadId());
  sleep(1);
  int trackLen = 5;
  while (trackLen) {
    trackLen--;
    printf("hare ran another step\n");
  }
  printf("hare done running!\n");
}
